<template>
  <div class="ordering_box">
    <!--背景图-->
    <div class="BackImg">
      <img
        src="https://img1.baidu.com/it/u=2610470407,690849859&fm=253&fmt=auto&app=138&f=JPEG?w=700&h=420"
      />
    </div>
    <!--今日菜品-->
    <div class="title">
      <span>今日菜品</span>
    </div>
    <OrderingFootTable />
  </div>
</template>

<script>
import OrderingFootTable from "./component/OrderingFootTable";
export default {
  name: "index",
  components: { OrderingFootTable },
  setup() {},
};
</script>

<style scoped lang="less">
.ordering_box {
  width: 100%;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  .BackImg {
    width: 100%;
    //height: 26rem;
    //overflow: hidden;
    img {
      width: 100%;
    }
  }
  .title {
    height: 3rem;
    width: 100%;
    padding: 0.5rem 0;
    span {
      border-bottom: 2px solid #ff8917;
      padding: 0.6rem 0.3rem;
      font-size: 1.2rem;
      color: #d79a2c;
      display: block;
      width: 100%;
      background-color: #fff;
      box-sizing: border-box;
    }
  }
}
</style>
